package com.atguigu.day12.interface04.in1;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/13 14:22
 * @注释
 */
public interface Fly {
    public abstract void flying();

}
class Bird implements Fly {
    @Override
    public void flying() {
        System.out.println("小鸟飞");
    }
}
class SuperMan implements Fly {
    @Override
    public void flying() {
        System.out.println("超人飞");
    }
}
